<?php defined('SYSPATH') or die('No direct script access.');
 
class Model_Contacts extends ORM {
	protected $_table_name = 'contacts';

	public function get_all() {
		return DB::select()
			->from('contacts')
			->order_by('sort', 'DESC')
			->as_object()
			->execute();
	}
}